package com.yanqu.road.server.manger.kowloon.battle.helper;

import com.yanqu.road.entity.kowloon.common.Vec2;

import java.util.LinkedList;

public class KowloonEnemyDeadParam {

    private int bornTime;

    private LinkedList<Vec2> path = new LinkedList<>();

    public KowloonEnemyDeadParam clone() {
        KowloonEnemyDeadParam deadParam = new KowloonEnemyDeadParam();
        deadParam.setBornTime(this.getBornTime());
        for (Vec2 vec2 : this.path) {
            deadParam.getPath().addLast(vec2.clone());
        }
        return deadParam;
    }

    public int getBornTime() {
        return bornTime;
    }

    public void setBornTime(int bornTime) {
        this.bornTime = bornTime;
    }

    public LinkedList<Vec2> getPath() {
        return path;
    }

    public void setPath(LinkedList<Vec2> path) {
        this.path = path;
    }
}
